package com.cuijq.ms.compose.v3;

/**
 * @author by CuiJQ
 * @Classname HumanResource
 * @Description HumanResource Description
 * @Date 2021/5/26 23:37
 */
public abstract class HumanResource {

  protected long id;
  protected double salary;

  public HumanResource(long id) {
    this.id = id;
  }

  public long getId() {
    return id;
  }

  public abstract double calculateSalary();
}
